package day04;

public class User {
	private String name;
	private int money;
	public User(){
	}
	public User(String name,int money){
		this.name=name;
		this.money=money;
	}
	
	//展示有多少钱
	public void show(){
		System.out.println("我叫:"+name+",我有多少钱:"+money);
	}
	
	public int getMoney(){
		return money;
	}
	public void setMoney(int money){
		this.money=money;
	}
}
